package cn.com.nes.mybatis.agent.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 商务项目的设备型号范围
 * @TableName opportunity_device_models
 */
@TableName(value ="opportunity_device_models")
@Data
public class OpportunityDeviceModel implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商务项目UUID
     */
    @TableField(value = "opportunity_uuid")
    private String opportunityUuid;

    /**
     * 施工项目UUID
     */
    @TableField(value = "project_uuid")
    private String projectUuid;

    /**
     * 设备型号
     */
    @TableField(value = "device_model")
    private String deviceModel;

    /**
     * 设备型号名称
     */
    @TableField(value = "device_model_name")
    private String deviceModelName;

    /**
     * 品牌分类
     */
    @TableField(value = "brand_type")
    private String brandType;

    /**
     * 品牌分类名称
     */
    @TableField(value = "brand_type_name")
    private String brandTypeName;

    /**
     * 能源分类
     */
    @TableField(value = "energy_type")
    private String energyType;

    /**
     * 能源分类名称
     */
    @TableField(value = "energy_type_name")
    private String energyTypeName;

    /**
     * 删除标识，0-启用，1-废弃
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 创建人ID
     */
    @TableField(value = "gmt_create_id")
    private Long gmtCreateId;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改人ID
     */
    @TableField(value = "gmt_modified_id")
    private Long gmtModifiedId;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}